<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>005</title>
		<style type="text/css">
			span{
				width: 100px;
				height: 100px;
				display: inline-block; /*将内联元素调成块级元素,并横排显示*/
			}
			
		</style>
		
		
	</head>
	<body>
		<span id="s01" style="background-color: red;">11111</span>
		<span id="s02" style="background-color: blueviolet;">22222</span>
		
	</body>
</html>
